package cn.iocoder.yudao.module.security.controller.admin.rule.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 规则分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SecurityRulePageReqVO extends PageParam {

    @Schema(description = "SID", example = "3123")
    private String sId;

    @Schema(description = "GID", example = "28732")
    private String gId;

    @Schema(description = "MSG")
    private String msg;

    @Schema(description = "详情")
    private String content;

    @Schema(description = "来源文件")
    private String file;

    @Schema(description = "类型", example = "2")
    private String ruleType;

    @Schema(description = "状态（0正常 1停用）", example = "1")
    private Integer status;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}